#!/bin/sh

i=0

for i in $(seq 80000 90000);
do
	echo -ne "$i,$i,$i,$i,10.10.210.15" >> reg.txt;
	if [ `expr $i % 2` -eq 0 ];	#contact address
	then
		echo -ne ",10.10.18.131" >> reg.txt;
	fi
	if [ `expr $i % 5` -eq 0 ];	#register address
	then
		echo -ne ",10.10.18.131" >> reg.txt;
	fi
	echo "" >> reg.txt;
done
